package Math01;

public class SysTime {
    public static void main(String[] args) {
        long start = System.currentTimeMillis();

        for (int i = 0; i < 10000; i++) {
            System.out.println(start);
        }
        // System.exit(0);
        long end = System.currentTimeMillis();
        System.out.println(end - start);

        int[] arr = {1, 2, 4, 5, 6,};
        int[] arr1 = new int[6];
        System.arraycopy(arr, 0, arr1, 0, 4);
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);

        }
    }
}